#include <iostream>#include <vector>#include <algorithm>using namespace std;class Solution {public:	int removeDuplicates(vector<int>& nums)	{		nums.erase(unique(nums.begin(), nums.end()), nums.end());		int length = nums.size();		return length;	}};int main(){	vector<int>v;	v.push_back(2);	v.push_back(2);	v.push_back(3);	v.push_back(3);	v.push_back(5);	v.push_back(5);	v.push_back(6);	v.push_back(6);	v.erase(unique(v.begin(), v.end()), v.end());	for (vector<int>::iterator it = v.begin(); it != v.end(); it++)	{		cout << *it;	}	return 0;}